#pragma once

#define Die(v) exit(v)
#define CONV(v) (struct sockaddr*)v
enum Code
{
    SOCKET_ERROR=1,
    BIND_ERROR,
    LISTEN_ERROR,
    USAGE_ERROR,
    CONNECT_ERROR
};